﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DAO;

namespace ProyectoCine
{
    public partial class PaginaPrincipal : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }        
      

        protected void imageAraña_Click(object sender, ImageClickEventArgs e)
        {
            Session["id_Pelicula"] = 8;
            Response.Redirect("MostrarPelicula.aspx");
        }

        protected void imageHielo_Click(object sender, ImageClickEventArgs e)
        {
            Session["id_Pelicula"] = 7;
            Response.Redirect("MostrarPelicula.aspx");
        }

        protected void imageVengadores_Click(object sender, ImageClickEventArgs e)
        {
            Session["id_Pelicula"] = 11;
            Response.Redirect("MostrarPelicula.aspx");
        }

        protected void imageBatman_Click(object sender, ImageClickEventArgs e)
        {
            Session["id_Pelicula"] = 10;
            Response.Redirect("MostrarPelicula.aspx");
        }
    }
}